<?php
/**
 * 账单分类
 * @author sunhaoqiang(shqdev@163.com)
 * @time: 2020-01-17 16:38
*/
namespace app\api\controller;

use app\BaseController;

class Cat extends BaseController
{
    public function list()
    {
        return 'Record,list';
    }

    /**
     * 账单分类添加
     *
     * @return void
     * @author sunhaoqiang(shqdev@163.com)
     * @time 2020-01-20 16:18
     */
    public function add()
    {
        $param = $this->request->param();

        // 验证
        var_dump($this->request->param());die;
        
    }

    public function edit()
    {
        return 'Record,edit';
    }

    public function del()
    {
        return 'Record,del';
    }
}
